package com.ruoyi.media.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.media.domain.dto.ImagesDTO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface DataFileService {
    /**
     * 上传图片
     *
     * */
    String uploadImgFile(MultipartFile file, ImagesDTO imagesDTO);


    /**
     * 下载图片
     *
     * */
    void imageDownload(Long id, HttpServletResponse response);
}
